import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  //删除黑白名单
  deleteBWlist: (query) => api.get(`${config.interfaces.type5}counterparty-server/counterparty/deleteBWList`, query),
  //查询黑白名单
  getBWList: (query) => api.post(`${config.interfaces.type5}counterparty-server/counterparty/getBWList`, query),
  //新增黑白名单
  insertBWlist: (query) => api.post(`${config.interfaces.type5}counterparty-server/counterparty/insertBWList`, query),
  //查询状态下拉
  getStatusEnum: (query) => api.get(`${config.interfaces.type5}counterparty-server/counterparty/getStatusEnum`, query),
  //查询短名
  getShortName: (query) => api.get(`${config.interfaces.type5}counterparty-server/counterparty/getShortName`, query),
};
